home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 925 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.5 KB  |  60 lines

  1. Newsgroups: comp.sys.amiga.applications,comp.sys.amiga.misc,comp.sys.amiga.introduction
  2. Path: news.kei.com!ub!dsinc!scala!news
  3. From: dave.haynie@scala.com (Dave Haynie)
  4. Subject: Re: HELP: How to delete a file named ".."
  5. Sender: news@scala.scala.com (Usenet administrator)
  6. Message-ID: <1996Jan10.200019.11341@scala.scala.com>
  7. Date: Wed, 10 Jan 1996 20:00:19 GMT
  8. Reply-To: dave.haynie@scala.com (Dave Haynie)
  9. References: <19084108@cacios.locebbs.chnet.ch> <3@diode.fipnet.fi> <4cn8to$r8g@sundog.tiac.net>
  10. Nntp-Posting-Host: gator
  11. Organization: Scala Computer Television, US Research Center
  12.  
  13. In <4cn8to$r8g@sundog.tiac.net>, dmeyer@tiac.net (David Meyer) writes:
  14. >Tapio Heiskanen (tj@iki.fi) wrote:
  15. >: In article <19084108@cacios.locebbs.chnet.ch> "Stefano Cairoli" <Cacio@cacios.locebbs.chnet.ch> writes:
  16.  
  17. >:> I don't know how, but I have on my hard disk a file that is named ".."
  18. >:> The problem is that it seems that it's impossible to delete!!  I've tried
  19. >:> with the SHELL, with Directory Opus 4, DOpus 5 and the Workbench.. 
  20. >:> NOTHING!! : 
  21.  
  22. "." is not a special character to AmigaDOS. You should be able to
  23. delete this normally, just by typing:
  24.  
  25.     1> Delete ..
  26.  
  27. Alternatives that also work:
  28.  
  29.     1> Delete ".."
  30.  
  31.     1> Delete '.'.
  32.  
  33. >: You probably have UnixDirs or some other commodity to enable . and .. to 
  34. >: work as on a unix system
  35.  
  36. If you have any special hacks, or a nonstandard shell, the ".." may be
  37. something magic. Turn these off, and it should either vanish or become
  38. deletable. I suppose something could have created a hard link called
  39. ".." which links to your directory's parent, which would be rather
  40. ugly, though normally deletable in most cases.
  41.  
  42. >    If you have a utility that emulates UNIX directory structure, 
  43. >don't even THINK about deleting the . or .. "files". These are the 
  44. >representations of the directories "above" the one you are looking
  45. >at. 
  46.  
  47. There isn't much chance of deleting those. If they're magic (such as
  48. directories that don't really exist, provided by the UNIX-like shell
  49. you're using), you can't really delete what isn't there. You also
  50. can't delete anything that's still Locked by something, in the DOS
  51. sense. When you CD to a directory, you open a Lock on it, which
  52. prevents it from being deleted while you're in it. 
  53.  
  54. Dave Haynie          | ex-Commodore Engineering |   for DiskSalv 3 &
  55. Sr. Systems Engineer |  Hardwired Media Company | "The Deathbed Vigil"
  56. Scala Inc., US R&D   |    Ki No Kawa Aikido     |     info@iam.com
  57.  
  58.          "Feeling ... Pretty ... Psyched" -R.E.M.
  59.  
  60.